def g(x):
    return 2*(x+1)*(x-2)

def balayage(pas):
    x=2
    while g(x)<1:
        x=x+pas
    return (x-pas,x)